<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
    <title><?php echo $config['config'][0]['config'][0]['value'];?></title>
    <meta name="keywords" content="<?php echo $config['config'][0]['config'][1]['value'];?>">
    <meta name="description" content="<?php echo $config['config'][0]['config'][2]['value'];?>">
    <link rel="icon" href="{$app.avatar}" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="/app-home/jyhsfyysdmb/css/appstore.css">
    <style>html, body {
        font-size: 12px;
    }</style>
    <script type="text/javascript">
        !function (a, b) {
            function c() {
                var b = f.getBoundingClientRect().width;
                b / i > 540 && (b = 540 * i);
                var c = b / 10;
                f.style.fontSize = c + "px", k.rem = a.rem = c
            }

            var d, e = a.document, f = e.documentElement, g = e.querySelector('meta[name="viewport"]'),
                h = e.querySelector('meta[name="flexible"]'), i = 0, j = 0, k = b.flexible || (b.flexible = {});
            if (g) {
                var l = g.getAttribute("content").match(/initial\-scale=([\d\.]+)/);
                l && (j = parseFloat(l[1]), i = parseInt(1 / j))
            } else if (h) {
                var m = h.getAttribute("content");
                if (m) {
                    var n = m.match(/initial\-dpr=([\d\.]+)/), o = m.match(/maximum\-dpr=([\d\.]+)/);
                    n && (i = parseFloat(n[1]), j = parseFloat((1 / i).toFixed(2))), o && (i = parseFloat(o[1]), j = parseFloat((1 / i).toFixed(2)))
                }
            }
            if (!i && !j) {
                var p = (a.navigator.appVersion.match(/android/gi), a.navigator.appVersion.match(/iphone/gi)),
                    q = a.devicePixelRatio;
                i = p ? q >= 3 && (!i || i >= 3) ? 3 : q >= 2 && (!i || i >= 2) ? 2 : 1 : 1, j = 1 / i
            }
            if (f.setAttribute("data-dpr", i), !g) if (g = e.createElement("meta"), g.setAttribute("name", "viewport"), g.setAttribute("content", "initial-scale=" + 1 + ", maximum-scale=" + 1 + ", minimum-scale=" + 1 + ", user-scalable=no"), f.firstElementChild) f.firstElementChild.appendChild(g); else {
                var r = e.createElement("div");
                r.appendChild(g), e.write(r.innerHTML)
            }
            a.addEventListener("resize", function () {
                clearTimeout(d), d = setTimeout(c, 300)
            }, !1), a.addEventListener("pageshow", function (a) {
                a.persisted && (clearTimeout(d), d = setTimeout(c, 300))
            }, !1), "complete" === e.readyState ? e.body.style.fontSize = 12 * i + "px" : e.addEventListener("DOMContentLoaded", function () {
                e.body.style.fontSize = 12 * i + "px"
            }, !1), c(), k.dpr = a.dpr = i, k.refreshRem = c, k.rem2px = function (a) {
                var b = parseFloat(a) * this.rem;
                return "string" == typeof a && a.match(/rem$/) && (b += "px"), b
            }, k.px2rem = function (a) {
                var b = parseFloat(a) / this.rem;
                return "string" == typeof a && a.match(/px$/) && (b += "rem"), b
            }
        }(window, window.lib || (window.lib = {}));
    </script>
    <style>
        .a_desc h2 i {
            display: inline-block;
            width: 3.889vw;
            height: 3.889vw;
            margin-right: 1.204vw;
            vertical-align: text-top;
            background: url("<?php echo $config['config'][3]['config'][1]['value'];?>") no-repeat 50%;
            background-size: cover;
        }
    </style>
</head>
<body>
<div class="appstore_main">
    <div class="a_top">
        <div class="logo"><img src="<?php echo $config['config'][1]['config'][0]['value'];?>"></div>
        <div class="name">
            <div class="title">
                <div class="app_name"><?php echo $config['config'][1]['config'][1]['value'];?></div>
                <div class="version">
                    <div>
                        <div class="versionOne"><?php echo $config['config'][1]['config'][2]['value'];?></div>
                        <div class="versionTwo"><?php echo $config['config'][1]['config'][3]['value'];?></div>
                        <div class="versionTwo"><?php echo $config['config'][1]['config'][4]['value'];?></div>
                    </div>
                    <div>
                        <div class="star"><img src="<?php echo $config['config'][1]['config'][5]['value'];?>">
                        </div>
                        <div class="starTwo"><?php echo $config['config'][1]['config'][6]['value'];?></div>
                        <div class="starTwo"><?php echo $config['config'][1]['config'][7]['value'];?></div>
                    </div>
                </div>
            </div>
            <div class="versionButton">
                <button style="background-color: Orange" class="versionButtonNewThree" onclick='to("<?php echo $config['config'][1]['config'][9]['value'];?>")'>
                    <?php echo $config['config'][1]['config'][8]['value'];?>
                </button>
            </div>
            <?php if($config['config'][1]['config'][10]['value']==true){?>
            <div class="versionButton">
                <button style="background-color: Orange" class="versionButtonNewOne" onclick='to("<?php echo $config['config'][1]['config'][12]['value'];?>")'><?php echo $config['config'][1]['config'][11]['value'];?></button>
                <button style="background-color: Orange" class="versionButtonNewTwo" onclick='to("<?php echo $config['config'][1]['config'][14]['value'];?>")'><?php echo $config['config'][1]['config'][13]['value'];?></button>
            </div>
            <?php }?>
        </div>

    </div>

    <div class="a_cent">
        <div class="img-list">
            <?php
                foreach($config['config'][2]['config'][0]['value'] as $index=>$item){
                    echo '<img class="full" src="'.$item.'">';
                }
            ?>
        </div>
        <div class="version">
            <span><?php echo $config['config'][2]['config'][1]['value'];?></span>
            <span><?php echo $config['config'][2]['config'][2]['value'];?></span>
        </div>
    </div>
    <div class="a_desc">
        <h2><i></i><?php echo $config['config'][3]['config'][0]['value'];?></h2>
        <?php
            foreach($config['config'][3]['config'][2]['value'] as $index=>$item){
                echo '<p '.($index===0? 'class="blue"' : '').'>'.$item['describe'].'</p>';
            }
        ?>
    </div>
</div>
<script src="/app-home/jyhsfyysdmb/js/jquery-1.10.2.js"></script>
<script type="text/javascript">
    function to(url) {
        window.open(url)
    }
</script>

</body>
</html>
